<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://www.ncbi.nlm.nih.gov/soap/eutils/esearch" elementFormDefault="qualified" targetNamespace="http://www.ncbi.nlm.nih.gov/soap/eutils/esearch" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Count" type="xs:string" />
  <xs:element name="ERROR" type="xs:string" />
  <xs:element name="Explode" type="xs:string" />
  <xs:element name="FieldNotFound" type="xs:string" />
  <xs:element name="From" type="xs:string" />
  <xs:element name="Id" type="xs:string" />
  <xs:element name="OutputMessage" type="xs:string" />
  <xs:element name="PhraseIgnored" type="xs:string" />
  <xs:element name="PhraseNotFound" type="xs:string" />
  <xs:element name="QueryKey" type="xs:string" />
  <xs:element name="QueryTranslation" type="xs:string" />
  <xs:element name="QuotedPhraseNotFound" type="xs:string" />
  <xs:element name="RetMax" type="xs:string" />
  <xs:element name="RetStart" type="xs:string" />
  <xs:element name="To" type="xs:string" />
  <xs:element name="WebEnv" type="xs:string" />
  <xs:complexType name="ErrorListType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:PhraseNotFound" />
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:FieldNotFound" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IdListType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:Id" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TermSetType">
    <xs:sequence>
      <xs:element name="Term" type="xs:string" />
      <xs:element name="Field" type="xs:string" />
      <xs:element ref="tns:Count" />
      <xs:element ref="tns:Explode" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TranslationType">
    <xs:sequence>
      <xs:element ref="tns:From" />
      <xs:element ref="tns:To" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TranslationSetType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Translation" type="tns:TranslationType" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TranslationStackType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="TermSet" type="tns:TermSetType" />
      <xs:element name="OP" type="xs:string" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="WarningListType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:PhraseIgnored" />
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:QuotedPhraseNotFound" />
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tns:OutputMessage" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="eSearchResult">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="tns:ERROR" />
        <xs:element minOccurs="0" ref="tns:Count" />
        <xs:element minOccurs="0" ref="tns:RetMax" />
        <xs:element minOccurs="0" ref="tns:RetStart" />
        <xs:element minOccurs="0" ref="tns:QueryKey" />
        <xs:element minOccurs="0" ref="tns:WebEnv" />
        <xs:element minOccurs="0" name="IdList" type="tns:IdListType" />
        <xs:element minOccurs="0" name="TranslationSet" type="tns:TranslationSetType" />
        <xs:element minOccurs="0" name="TranslationStack" type="tns:TranslationStackType" />
        <xs:element minOccurs="0" ref="tns:QueryTranslation" />
        <xs:element minOccurs="0" name="ErrorList" type="tns:ErrorListType" />
        <xs:element minOccurs="0" name="WarningList" type="tns:WarningListType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="db" type="xs:string" />
  <xs:element name="term" type="xs:string" />
  <xs:element name="usehistory" type="xs:string" />
  <xs:element name="tool" type="xs:string" />
  <xs:element name="email" type="xs:string" />
  <xs:element name="field" type="xs:string" />
  <xs:element name="reldate" type="xs:string" />
  <xs:element name="mindate" type="xs:string" />
  <xs:element name="maxdate" type="xs:string" />
  <xs:element name="datetype" type="xs:string" />
  <xs:element name="rettype" type="xs:string" />
  <xs:element name="sort" type="xs:string" />
  <xs:element name="eSearchRequest">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="tns:db" />
        <xs:element minOccurs="0" ref="tns:term" />
        <xs:element minOccurs="0" ref="tns:WebEnv" />
        <xs:element minOccurs="0" ref="tns:QueryKey" />
        <xs:element minOccurs="0" ref="tns:usehistory" />
        <xs:element minOccurs="0" ref="tns:tool" />
        <xs:element minOccurs="0" ref="tns:email" />
        <xs:element minOccurs="0" ref="tns:field" />
        <xs:element minOccurs="0" ref="tns:reldate" />
        <xs:element minOccurs="0" ref="tns:mindate" />
        <xs:element minOccurs="0" ref="tns:maxdate" />
        <xs:element minOccurs="0" ref="tns:datetype" />
        <xs:element minOccurs="0" ref="tns:RetStart" />
        <xs:element minOccurs="0" ref="tns:RetMax" />
        <xs:element minOccurs="0" ref="tns:rettype" />
        <xs:element minOccurs="0" ref="tns:sort" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>